//
//  HttpConnection.h
//  ELife
//
//  Created by  刘奇男 on 11-5-23.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ASIFormDataRequest.h"
#import "HttpCallback.h"


@interface HttpConnection : NSObject {
}

@property (nonatomic, retain) ASIFormDataRequest *formRequest;
@property (nonatomic, retain) id<HttpCallback> *callback;

// Init
- (id)initWithURL:(NSURL *)newURL withCallback:(id<HttpCallback> *)callback;

// Add a POST variable to the request
- (void)addPostValue:(id <NSObject>)value forKey:(NSString *)key;


@end
